<!-- BEGIN PAGE HEADER-->
<h3 class="page-title">
    电竞圈详情
    <small></small>
</h3>
<div class="page-bar">
    <ul class="page-breadcrumb">
        <li>
            <i class="fa fa-home"></i>
            <a href="index.html">Home</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">电竞圈管理</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">电竞圈详情</a>
        </li>
    </ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
    <div class="col-md-12">
        <form class="form-horizontal form-row-seperated" action="#" id="edit_form">
            <div class="portlet">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-shopping-cart"></i>群资料
                    </div>
                    <div class="actions btn-set">
                        <button type="button" id="back" class="btn default">
                            <i class="fa fa-angle-left"></i> 返回
                        </button>
                        <!--button class="btn default">
                            <i class="fa fa-reply"></i> 重置
                        </button>
                        <button type="button" class="btn green table-group-action-submit">
                            <i class="fa fa-check"></i> 保存
                        </button-->
                        <!--<button class="btn green"><i class="fa fa-check-circle"></i> 保存 & 继续编辑</button>-->
                    </div>
                </div>
                <div class="portlet-body">
                    <div class="tabbable">
                        <div class="tab-content no-space">
                            <div class="tab-pane active" id="tab_general">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            群ID:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="id" placeholder="" value="<?php echo $model->getId(); ?>">
                                            <input type="hidden" class="form-control" name="cid" placeholder="" value="<?php echo $model->getId(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            环信ID:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="circleNum" placeholder="" value="<?php echo $model->getCircle_num(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            电竞圈名称:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control disabled" name="name" placeholder="" value="<?php echo $model->getName(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            主打游戏:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="mainGame" placeholder="" value="<?php echo $model->getMain_game(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            宣言:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="manifesto" placeholder="" value="<?php echo $model->getManifesto(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            等级:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="level" placeholder="" value="<?php echo $model->getLevel(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            当前人数:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="number" placeholder="" value="<?php echo $model->getNumber(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            总人数:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="totalNum" placeholder="" value="<?php echo $model->getTotal_number(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            创建时间:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="tiaddTime" placeholder="" value="<?php echo date('Y-m-d H:i:s',$model->getAdd_time()); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            状态:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="status" placeholder=""
                                                   value="<?php if($model->getStatus()==1){ echo '正常'; }elseif($model->getStatus()==2) {echo '已删除'; } ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            地址:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="time" placeholder="" value="<?php echo $model->getAddress(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            图片:
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="time" placeholder="" value="<?php echo $model->getImg_url(); ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            群主/成员:
                                        </label>
                                        <div class="col-md-10">
                                            <a class="btn green" href="/admin/member/edit?id=<?php echo $model->getMember_id();?>" title="点击查看群主信息"><?php echo $model->getMember_id();?></a>
                                            <a class="btn yellow" href="/admin/gamecircle/memberlist?id=<?php echo $model->getId();?>" title="点击查看群成员">查看群成员</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- END PAGE CONTENT-->